package com.eunion.web.common.base.search;

/**
 * from
 * http://www.programcreek.com/java-api-examples/index.php?source_dir=tapestry-
 * model-master/tapestry-model-core/src/main/java/org/tynamo/search/
 * SearchFilterOperator.java.
 * 
 * 
 * @version 2016年4月12日 下午10:46:18
 */
public interface SearchOperator {

	/**
	 * 条件.
	 * 
	 * @version 2016年4月19日 下午8:43:54
	 */
	public static class Conditon {
		public static final String eq = "eq";
		public static final String ne = "ne";
		public static final String lt = "lt";
		public static final String gt = "gt";
		public static final String le = "le";
		public static final String ge = "ge";
		public static final String like = "like";
		public static final String nlike = "nlike";
		public static final String in = "in";
		public static final String nin = "nin";
		public static final String isnull = "isnull";
		public static final String isnotnull = "isnotnull";
		public static final String isempty = "isempty";
		public static final String isnotempty = "isnotempty";
		public static final String bw = "bw";
	}

	/**
	 * 排序.
	 * 
	 * @version 2016年4月19日 下午8:44:06
	 */
	public static class Order {
		public static final String asc = "asc";
		public static final String desc = "desc";
	}

	/**
	 * 类型.
	 * 
	 * @version 2016年9月4日 上午12:22:34
	 */
	public static class Type {
		public static final String string = "string";
		public static final String intger = "int";
		public static final String LONG = "long";
		public static final String ft = "float";
		public static final String db = "double";
		public static final String date = "date";
	}

}
